Add missing GL header
authorAnton Gladky <gladk@debian.org>
Mon, 27 Oct 2025 18:54:02 +0000 (14:54 -0400)
committerDominique Belhachemi <domibel@debian.org>
Mon, 27 Oct 2025 18:54:02 +0000 (14:54 -0400)
Last-Update: 2024-01-10

Gbp-Pq: Name 100_add_missing_gl_header.patch

GUISupport/Qt/QVTKOpenGLWindow.cxx

index 06b09f00fc2aea06a6f691eb5dbed7d00362aea3..ecc1d3ec1d998113943cbc31997bb6a392911362 100644 (file)
@@ -22,6 +22,8 @@
 #include "vtkObjectFactory.h"
 #include "vtkOpenGLState.h"
 
+#include <GL/gl.h>
+
 VTK_ABI_NAMESPACE_BEGIN
 QVTKOpenGLWindow::QVTKOpenGLWindow(QOpenGLWindow::UpdateBehavior ub, QWindow* p)
   : QVTKOpenGLWindow(vtkSmartPointer<vtkGenericOpenGLRenderWindow>::New(), nullptr, ub, p)